/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the  Microsoft Public License, please send an email to 
 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
 * PARTICULAR PURPOSE.
 * ***************************************************************************/


// testpglDoc.h : interface of the CTestpglDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTPGLDOC_H__0299685A_8623_11D4_826B_00A024D26A1F__INCLUDED_)
#define AFX_TESTPGLDOC_H__0299685A_8623_11D4_826B_00A024D26A1F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CTestpglDoc : public CDocument
{
protected: // create from serialization only
	CTestpglDoc();
	DECLARE_DYNCREATE(CTestpglDoc)

// Attributes
public:

// Operations
public:
	CPGLRegionPtr GetRegion()	{ return m_pRegion;};

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestpglDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetRegion(CPGLRegionPtr pRegion);
	CPGLRegionPtr m_pRegion;
	virtual ~CTestpglDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestpglDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTPGLDOC_H__0299685A_8623_11D4_826B_00A024D26A1F__INCLUDED_)
